<div class="pageHeader">
  <form onsubmit="return navTabSearch(this);"
	action="#{$smarty.const.ACT}#/FinRecePlan/fin_rece_plan_show" method="post">
    <div class="searchBar">
      <table class="searchContent">
        <tr>
          <td><select class="combox" name="searchKeyword">
              <option value="name"  #{if $searchKeyword eq 'name'}# selected="selected" #{/if}#>名称</option>
            </select></td>
          <td><input type="text" name="searchValue" value="#{$searchValue}#" /></td>
          <td><ul>
              <li>
                <div class="buttonActive">
                  <div class="buttonContent">
                    <button type="submit">检索</button>
                  </div>
                </div>
              </li>
            </ul></td>
        </tr>
      </table>
      <table class="subBar">
        <tr>
          <td> 说明： </td>
          <td class="info"> 共计收入：#{$totalMoney.receTotal}# &nbsp;&nbsp;共计支出：#{$totalMoney.payTotal}#</td>
        </tr>
      </table>
    </div>
  </form>
</div>
<div class="pageContent">
  <div class="panelBar">
    <ul class="toolBar">
      <li><a class="add"
		href="#{$smarty.const.ACT}#/FinRecePlan/fin_rece_plan_add/" target="navTab"
		rel="fin_rece_plan_add" title="回款计划添加"><span>添加</span></a></li>
      <li> <a class="delete" href="#{$smarty.const.ACT}#/FinRecePlan/fin_rece_plan_del/" postType="string" title="确定要删除吗?"  target="selectedTodo" rel="ids"><span>删除</span></a></li>
      <li><a class="edit"
		href="#{$smarty.const.ACT}#/FinRecePlan/fin_rece_plan_modify/id/{sid_user}/"
		target="navTab" rel="fin_rece_plan_acctio" title="确认回款"><span>回款</span></a></li>  
    </ul>
  </div>
  <ul>
    <table class="table" width="100%" layoutH="138">
      <thead>
        <tr>
          <th width="22"><input type="checkbox" group="ids"
					class="checkboxCtrl"></th>
          <th align="left" width="42">编号</th>
          <th align="left" width="200">客户名称</th>
          <th align="left" width="200">订单号</th>
          <th align="left" width="100">计划日期</th>
          <th align="left" width="100">其次</th>
          <th align="left">金额</th>
          <th align="left">是否回款</th>
          <th align="left">创建人</th>
          <th align="left">创建时间</th>
        </tr>
      </thead>
      <tbody>
      
      #{foreach from=$list key=k item=v}#
      <tr target="sid_user" rel="#{$v.id}#">
        <td><input name="ids" value="#{$v.id}#" type="checkbox"></td>
        <td align="left">#{$v.id}#</td>
        <td align="left">#{$customer[$v.id]}#</td>
        <td align="left">#{$salorder[$v.id]}#</td>
        <td align="left">#{$v.plandate}#</td>
        <td align="left">#{$v.stages}#</td>
        <td align="left">#{$v.money}#</td>
        <td align="left">#{$v.ifpay}#</td>
        <td align="left">#{$v.create_user}#</td>
        <td align="left">#{$v.adt}#</td>
      </tr>
      #{/foreach}#
        </tbody>
      
    </table>
    <div class="panelBar">
      <form id="pagerForm" method="post"
		action="#{$smarty.const.ACT}#/FinRecePlan/fin_rece_plan_show/">
        <input
		type="hidden" name="pageNum" value="1" />
        <input type="hidden"
		name="numPerPage" value="#{$numPerPage}#" />
        <input type="hidden"
		name="orderField" value="${param.orderField}" />
      </form>
      <div class="pages"><span>显示</span>
        <select class="combox"
		name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
          <option value="20">20</option>
          <option value="50">50</option>
          <option value="100">100</option>
          <option value="200">200</option>
        </select>
        <span>条，共#{$totalCount}#条</span></div>
      <div class="pagination" targetType="navTab"
		totalCount="#{$totalCount}#" numPerPage="#{$numPerPage}#"
		pageNumShown="10" currentPage="#{$currentPage}#"></div>
    </div>
  </ul>
</div>
